Notes

RIP.java is the main class.
It does all the drawing and uses the processing.core library extensively.
Processing is an open project initiated by Ben Fry and Casey Reas
http://processing.org/

States.java contains the methods that interpret the mouse gestures and that choreograph the sequence of events triggered by mouse gestures, passing time, and/or size of the deformed grid.

Calc.java holds the methods that calculate the forces and displacements
of each grid node.

Map.java maps between the grid representation of the grid surface and the screen.  The factors affecting this mapping are controlled by the method autoPanAndZoom.

Txt.java holds the methods to write to the grid.

K.java holds shared static variables (sorry,  this is not "good" programming practice. I have not shaken off the old procedural programming habits)

There are three fundamental objects
PointC.java - a Point 
TetraC.java - a Quad
GridNodeC.java - a node on the grid (which includes the state of the elastic springs between nodes)

Questions/Comments
jm at codemuse dot net








 
